package com.godtree.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 八爪鱼任务表
 * </p>
 *
 * @author lisicheng
 * @since 2022-10-16
 */
@TableName("tb_bazhuanyu_task")
@Data
public class BazhuanyuTask implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 任务id
   */
  private String taskId;

  /**
   * 任务名称
   */
  private String taskName;

  /**
   * 排名id
   */
  private String rankId;

  /**
   * 是否同步；0-否；1-是；
   */
  private Boolean isSync;

  /**
   * 创建时间
   */
  private LocalDateTime createTime;

  /**
   * 修改时间
   */
  private LocalDateTime updateTime;

  @Override
  public String toString() {
    return "BazhuanyuTask{" +
        "id=" + id +
        ", taskId=" + taskId +
        ", taskName=" + taskName +
        ", isSync=" + isSync +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
  }
}
